package com.logic.landseaserver.persistence.write;

import com.logic.landseaserver.domain.Deposit;
import com.logic.landseaserver.ws.dto.DepositDTO;

/**
 * @Author: jack
 * @Date: 2017/5/4
 * @Description: 活动接口类
 */
public interface DepositWriteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Deposit record);

    int insertSelective(Deposit record);

    int updateByPrimaryKeySelective(Deposit record);

    int updateByPrimaryKeySelectiveDTO(DepositDTO record);

    int updateComeDueDeposit(Integer id);

    int deleteByDepositById(Integer id);

    //   int clearDeposit(Date createDate);

}